<ui:composition xmlns="http://www.w3.org/1999/xhtml"
                xmlns:f="http://xmlns.jcp.org/jsf/core"
                xmlns:h="http://xmlns.jcp.org/jsf/html"
                xmlns:ui="http://xmlns.jcp.org/jsf/facelets"
                xmlns:p="http://primefaces.org/ui"
                template="/WEB-INF/template.xhtml">
    <ui:define name="content">
        <div class="container">
            <div class="ui-g">
                <div class="ui-g-12">
                    <div class="card">
                        <h1>Advanced</h1>
                        <h:form>
                            <p:fileUpload fileUploadListener="#{fileUploadView.handleFileUpload}"
                                          mode="advanced"
                                          dragDropSupport="false"
                                          update="messages"
                                          sizeLimit="100000"
                                          fileLimit="3"
                                          label="Choose"
                                          uploadLabel="Upload"
                                          cancelLabel="Cancel"
                                          allowTypes="/(\.|\/)(gif|jpe?g|png)$/"/>
                            <p:growl id="messages"/>
                        </h:form>
                    </div>
                </div>
            </div>
        </div>
    </ui:define>
</ui:composition>